#-------------------------------------------------
#
# Project created by QtCreator 2011-10-21T22:11:35
#
#-------------------------------------------------

QT       += core script xml

QT       -= gui

TARGET = JsUsageExample
CONFIG   += console
CONFIG   -= app_bundle

TEMPLATE = app

INCLUDEPATH += ../ClassLoader

HEADERS +=  instanceholder.h

SOURCES += main.cpp

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../ClassLoader/release/ -llibloader
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../ClassLoader/debug/ -llibloader
else:unix:!macx:!symbian: LIBS += -L$$OUT_PWD/../ClassLoader/ -llibloader

OTHER_FILES += \
    testlib.xml \
    script.js \
    ogre.js \
    ogreLib.xml \
    ogreA.js \
    example.ogs

#use make install to copy this library and script files to dest dir

libraries.path    = $$OUT_PWD/lib
libraries.files   += testlib.xml ogreLib.xml

ogre.path = $$OUT_PWD
ogre.files += *.cfg

scripts.path    = $$OUT_PWD/script
scripts.files   += *.js

INSTALLS       += libraries
INSTALLS       += scripts
INSTALLS       += ogre
